package com.example.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: ash
 * @time: 2024/2/2  13:49:04
 * @description:
 */
@FeignClient(value = "stock-nacos", path = "/stock")
public interface StockService {

    @RequestMapping(value = "/deduct.json")
    @ResponseBody
    String deduct();
}
